package top.lixunda.ecommerce.server.business.api.condition;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;

/**
 * @author Xumda
 * @version time:2020/1/9 11:51
 */
public interface ILambdaQueryWrapperDTO<T> {

    /**
     * 将当前用于查询的DTO中的查询数据转换为 LambdaQuerySqlWrapper
     *
     * @return 条件构造器 LambdaQuerySqlWrapper
     */
    LambdaQueryWrapper<T> toWrapper();

}
